package com.zenithmind.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zenithmind.article.pojo.domain.Category;
import com.zenithmind.article.pojo.query.CategoryQuery;
import com.zenithmind.common.result.PageResult;

public interface CategoryService extends IService<Category> {
    Category addOrUpdateCategory(Category category);

    PageResult<Category> pageCategory(CategoryQuery categoryQuery);
}
